package org.scub.foundation.fournisseur.egicom.core.service.interfaces;

import java.util.List;

import org.scub.foundation.framework.base.dto.IdLabelDto;

/**
 * Services to give lists.
 * @author Adrien HAUTOT (adrien.hautot@scub.net)
 */
public interface ListService {

    /**
     * Get a list of civilites based on a search filterd with the filter parameter.
     * @param filter the filter for search.
     * @return the list
     */
    List<IdLabelDto> getCivilites(String filter);

    /**
     * Get a list of phone types based on a search filterd with the filter parameter.
     * @param filter the filter for search.
     * @return the list
     */
    List<IdLabelDto> getPhoneTypes(String filter);
}
